function student(){
    this.age=12
    this.weight=10
    return {
        getage:function(){
            return this.age
        }
    }
}
function cat(){
    var cat=new student()
    cat.grow=function(){
        cat.age++
    }
    return cat
}